/* ------------------------------ dom/comment.js ---------------------------- */
VED.dom.comment = VED.dom.node.extend({
   initialize: function( comment, ownerDocument ) {
      if ( typeof comment == 'string' )
         comment = ( ownerDocument ? ownerDocument.$ : document ).createComment( comment );

      this.parent.parent.call( this, comment );
   },

   type: VED.NODE_COMMENT,

   getOuterHtml: function() {
      return '<!--' + this.$.nodeValue + '-->';
   }
});





